﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template/Detail.master" AutoEventWireup="true"
    CodeFile="UseList.aspx.cs" Inherits="Car_UseList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ListToolBarPlaceHolder" runat="Server">
    <table cellspacing="2" cellpadding="0" border="0" width="100%">
        <tr>
            <td class="ToolMenu" width="250px">
                <asp:TextBox ID="txtStart" Style="width: 120px" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'});"
                    runat="server" CssClass="TextBox"></asp:TextBox>-<asp:TextBox ID="txtEnd" Style="width: 120px"
                        onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'});" runat="server" CssClass="TextBox"></asp:TextBox>
            </td>
            <td class="ToolMenu" width="55">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="LinkButton1" OnClick="btnSearch_Click">
                    <span>
                        <img src="<%=ResolveUrl("~/Images/Icon/Icon-Search.png")%>" alt="查询" /></span><span>查询</span></asp:LinkButton>
                </div>
            </td>
            <td class="ToolMenu">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                    <asp:LinkButton runat="server" ID="ltbrnPrint" OnClick="btnExcel_Click">
                    <span>
                        <img src="<%=ResolveUrl("~/Images/Icon/Action/import.gif")%>" alt="导出EXCEL" /></span><span>导出EXCEL</span></asp:LinkButton>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TitleContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="InfoContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="TextContentPlaceHolder" runat="Server">
    <div style="overflow-y: auto;" id="divStatic" runat="server">
        <table id="Table1" width="100%" border="1" cellspacing="0" cellpadding="0" class="Table">
            <tr>
                <th colspan="13" style="padding: 5px 0px;">
                    车辆使用明细表
                </th>
            </tr>
            <tr>
                <th width="30" style="padding: 5px 0px;">
                    序号
                </th>
                <th width="80">
                    使用日期
                </th>
                <th width="100">
                    车牌号
                </th>
                <th width="80">
                    车辆
                </th>
                <th width="80">
                    申请人
                </th>
                <th width="80">
                    用车部门
                </th>
                 <th width="40">
                    用车<br />人数
                </th>
                <th width="80">
                    预约人
                </th>
                <th width="100">
                    租赁公司
                </th>
                <th width="40">
                    数量
                </th>
    
                <th width="100">
                    事由
                </th>
                <th width="80">
                    用车类型
                </th>
                <th width="120">
                    出发地
                </th>
                <th width="120">
                    目的地
                </th>
                <th width="120">
                    备注
                </th>
            </tr>
            <asp:Repeater ID="rptOrder" runat="server">
                <ItemTemplate>
                    <tr id="TableRow_<%# Container.ItemIndex%>" style="cursor: hand" class="Normal" oldclass="Normal"
                        onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                        <td align="center" style="padding: 2px 0px;">
                            <%# Container.ItemIndex+1%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "StartDate","{0:yyyy-MM-dd}")%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "VehicleNo")%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "VehicleName")%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "ApplicantName")%>
                        </td>
                        <td align="left">
                            <%# DataBinder.Eval(Container.DataItem, "GroupName")%>
                        </td>
                          <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "SeatsCount")%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "ApplicantName")%>
                        </td>
                        <td align="left">
                            <%# DataBinder.Eval(Container.DataItem, "Rent")%>
                        </td>
                        <td align="left">
                            <%# DataBinder.Eval(Container.DataItem, "Shulianglanwei")%>
                        </td>
                        <td align="left">
                            <%# DataBinder.Eval(Container.DataItem, "Purpose")%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "Yclx")%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "StartAddress")%>
                        </td>
                        <td align="center">
                            <%# DataBinder.Eval(Container.DataItem, "Destination")%>
                        </td>
                        <td align="left">
                            <%# DataBinder.Eval(Container.DataItem, "Notes")%>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="TabberContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Div1ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="Div2ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="Div3ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="Div4ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="Div5ContentPlaceHolder" runat="Server">
</asp:Content>
